#include <iostream>
#include <map>
#include <utility>

using namespace std;

int main()
{
    map<int, int> mi;
    mi.insert(make_pair(1, 1));
    pair<map<int, int>::iterator, bool> pm = mi.insert(make_pair(1, 2));
    cout << pm.first->first << pm.first->second << endl;
    cout << pm.second << endl;

    cout << mi[1] << endl;
    return 0;
}
